<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/include/includeHeader.jsp"%>
<%@ page import="java.util.*,
                 com.kylin.common.util.*,
                 com.kylin.common.paginate.DisplayPage,
                 com.kylin.common.dict.orm.CatDict" %>
<br>
		<b>《系统属性表 列表》</b>
	<hr>
	以下是系统中各模块使用到的所有属性
<mytag:MyActionMsg />
<table class='pageTable' cellspacing='0' cellpadding='0'> 
     <tr>
        <td class='pageTitle'>顺序号</td>
        <td class='pageTitle'>字典名称</td>
        <td class='pageTitle'>操作</td>
      </tr>
<%
  if(request.getAttribute(Constants.KEY_REQUEST_RESULT   )!=null){
     DisplayPage dispage = (DisplayPage)request.getAttribute(Constants.KEY_REQUEST_RESULT);
 	 String actionUrl = "/admin/dict/manageCatDict.do";
     String ownUrl=actionUrl + "?CMD=search";
     String deleteUrl   = actionUrl + "?CMD=delete&page="+dispage.getPageNumber()+"&searchId="+dispage.getSearchId();
     
     for(int i=0;i<dispage.getList().size();i++){
         CatDict cat = (CatDict)dispage.getList().get(i);
%>
	    <tr class='row<%=(i%2)%>'> 
	       <td class='pageTd'><%=cat.getOrdering()%> </td> 
	       <td class='pageTd'>
	       	   <a href="<%="/admin/dict/manageDict.do?CMD=search&catId="+cat.getId()%>"><%=cat.getName()%></a>    
	       </td> 
	       <td class='pageTd'>
	           <a href="<%=actionUrl +"?CMD=bfUpdate"+"&id="+cat.getId()%>">编辑</a>/
	         <%--  <a href="< %=deleteUrl+"&id="+cat.getId()% >">删除</a>  --%>
	       </td> 
	    </tr> 
<%
     }
     out.println("</table>");
     out.println(JspHelper.getPageBar(dispage,ownUrl));
  }else{
   	 out.println("未找到记录");
  }
    
%>


